package com.Service.Imp;

import com.Dao.OrdersMapper;
import com.POJO.Orders;
import com.Service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrdersMapper ordersMapper;
    @Override
    public Orders findById(int Id) {
       return  ordersMapper.findById(Id);
    }
}
